package com.example.kotlin_api.javadesign.proxy

class Proxy(val sub: Subject) : Subject {
    private val subject: Subject? = null


    override fun request() {
        // 处理代理罗技
        subject!!.request()
    }
}